package org.hxyjs.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MatchOddsRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public MatchOddsRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMornoIsNull() {
            addCriterion("morno is null");
            return (Criteria) this;
        }

        public Criteria andMornoIsNotNull() {
            addCriterion("morno is not null");
            return (Criteria) this;
        }

        public Criteria andMornoEqualTo(String value) {
            addCriterion("morno =", value, "morno");
            return (Criteria) this;
        }

        public Criteria andMornoNotEqualTo(String value) {
            addCriterion("morno <>", value, "morno");
            return (Criteria) this;
        }

        public Criteria andMornoGreaterThan(String value) {
            addCriterion("morno >", value, "morno");
            return (Criteria) this;
        }

        public Criteria andMornoGreaterThanOrEqualTo(String value) {
            addCriterion("morno >=", value, "morno");
            return (Criteria) this;
        }

        public Criteria andMornoLessThan(String value) {
            addCriterion("morno <", value, "morno");
            return (Criteria) this;
        }

        public Criteria andMornoLessThanOrEqualTo(String value) {
            addCriterion("morno <=", value, "morno");
            return (Criteria) this;
        }

        public Criteria andMornoLike(String value) {
            addCriterion("morno like", value, "morno");
            return (Criteria) this;
        }

        public Criteria andMornoNotLike(String value) {
            addCriterion("morno not like", value, "morno");
            return (Criteria) this;
        }

        public Criteria andMornoIn(List<String> values) {
            addCriterion("morno in", values, "morno");
            return (Criteria) this;
        }

        public Criteria andMornoNotIn(List<String> values) {
            addCriterion("morno not in", values, "morno");
            return (Criteria) this;
        }

        public Criteria andMornoBetween(String value1, String value2) {
            addCriterion("morno between", value1, value2, "morno");
            return (Criteria) this;
        }

        public Criteria andMornoNotBetween(String value1, String value2) {
            addCriterion("morno not between", value1, value2, "morno");
            return (Criteria) this;
        }

        public Criteria andBnoIsNull() {
            addCriterion("bno is null");
            return (Criteria) this;
        }

        public Criteria andBnoIsNotNull() {
            addCriterion("bno is not null");
            return (Criteria) this;
        }

        public Criteria andBnoEqualTo(String value) {
            addCriterion("bno =", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotEqualTo(String value) {
            addCriterion("bno <>", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoGreaterThan(String value) {
            addCriterion("bno >", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoGreaterThanOrEqualTo(String value) {
            addCriterion("bno >=", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoLessThan(String value) {
            addCriterion("bno <", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoLessThanOrEqualTo(String value) {
            addCriterion("bno <=", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoLike(String value) {
            addCriterion("bno like", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotLike(String value) {
            addCriterion("bno not like", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoIn(List<String> values) {
            addCriterion("bno in", values, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotIn(List<String> values) {
            addCriterion("bno not in", values, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoBetween(String value1, String value2) {
            addCriterion("bno between", value1, value2, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotBetween(String value1, String value2) {
            addCriterion("bno not between", value1, value2, "bno");
            return (Criteria) this;
        }

        public Criteria andErnoIsNull() {
            addCriterion("erno is null");
            return (Criteria) this;
        }

        public Criteria andErnoIsNotNull() {
            addCriterion("erno is not null");
            return (Criteria) this;
        }

        public Criteria andErnoEqualTo(String value) {
            addCriterion("erno =", value, "erno");
            return (Criteria) this;
        }

        public Criteria andErnoNotEqualTo(String value) {
            addCriterion("erno <>", value, "erno");
            return (Criteria) this;
        }

        public Criteria andErnoGreaterThan(String value) {
            addCriterion("erno >", value, "erno");
            return (Criteria) this;
        }

        public Criteria andErnoGreaterThanOrEqualTo(String value) {
            addCriterion("erno >=", value, "erno");
            return (Criteria) this;
        }

        public Criteria andErnoLessThan(String value) {
            addCriterion("erno <", value, "erno");
            return (Criteria) this;
        }

        public Criteria andErnoLessThanOrEqualTo(String value) {
            addCriterion("erno <=", value, "erno");
            return (Criteria) this;
        }

        public Criteria andErnoLike(String value) {
            addCriterion("erno like", value, "erno");
            return (Criteria) this;
        }

        public Criteria andErnoNotLike(String value) {
            addCriterion("erno not like", value, "erno");
            return (Criteria) this;
        }

        public Criteria andErnoIn(List<String> values) {
            addCriterion("erno in", values, "erno");
            return (Criteria) this;
        }

        public Criteria andErnoNotIn(List<String> values) {
            addCriterion("erno not in", values, "erno");
            return (Criteria) this;
        }

        public Criteria andErnoBetween(String value1, String value2) {
            addCriterion("erno between", value1, value2, "erno");
            return (Criteria) this;
        }

        public Criteria andErnoNotBetween(String value1, String value2) {
            addCriterion("erno not between", value1, value2, "erno");
            return (Criteria) this;
        }

        public Criteria andBomoIsNull() {
            addCriterion("bomo is null");
            return (Criteria) this;
        }

        public Criteria andBomoIsNotNull() {
            addCriterion("bomo is not null");
            return (Criteria) this;
        }

        public Criteria andBomoEqualTo(String value) {
            addCriterion("bomo =", value, "bomo");
            return (Criteria) this;
        }

        public Criteria andBomoNotEqualTo(String value) {
            addCriterion("bomo <>", value, "bomo");
            return (Criteria) this;
        }

        public Criteria andBomoGreaterThan(String value) {
            addCriterion("bomo >", value, "bomo");
            return (Criteria) this;
        }

        public Criteria andBomoGreaterThanOrEqualTo(String value) {
            addCriterion("bomo >=", value, "bomo");
            return (Criteria) this;
        }

        public Criteria andBomoLessThan(String value) {
            addCriterion("bomo <", value, "bomo");
            return (Criteria) this;
        }

        public Criteria andBomoLessThanOrEqualTo(String value) {
            addCriterion("bomo <=", value, "bomo");
            return (Criteria) this;
        }

        public Criteria andBomoLike(String value) {
            addCriterion("bomo like", value, "bomo");
            return (Criteria) this;
        }

        public Criteria andBomoNotLike(String value) {
            addCriterion("bomo not like", value, "bomo");
            return (Criteria) this;
        }

        public Criteria andBomoIn(List<String> values) {
            addCriterion("bomo in", values, "bomo");
            return (Criteria) this;
        }

        public Criteria andBomoNotIn(List<String> values) {
            addCriterion("bomo not in", values, "bomo");
            return (Criteria) this;
        }

        public Criteria andBomoBetween(String value1, String value2) {
            addCriterion("bomo between", value1, value2, "bomo");
            return (Criteria) this;
        }

        public Criteria andBomoNotBetween(String value1, String value2) {
            addCriterion("bomo not between", value1, value2, "bomo");
            return (Criteria) this;
        }

        public Criteria andMotIsNull() {
            addCriterion("mot is null");
            return (Criteria) this;
        }

        public Criteria andMotIsNotNull() {
            addCriterion("mot is not null");
            return (Criteria) this;
        }

        public Criteria andMotEqualTo(String value) {
            addCriterion("mot =", value, "mot");
            return (Criteria) this;
        }

        public Criteria andMotNotEqualTo(String value) {
            addCriterion("mot <>", value, "mot");
            return (Criteria) this;
        }

        public Criteria andMotGreaterThan(String value) {
            addCriterion("mot >", value, "mot");
            return (Criteria) this;
        }

        public Criteria andMotGreaterThanOrEqualTo(String value) {
            addCriterion("mot >=", value, "mot");
            return (Criteria) this;
        }

        public Criteria andMotLessThan(String value) {
            addCriterion("mot <", value, "mot");
            return (Criteria) this;
        }

        public Criteria andMotLessThanOrEqualTo(String value) {
            addCriterion("mot <=", value, "mot");
            return (Criteria) this;
        }

        public Criteria andMotLike(String value) {
            addCriterion("mot like", value, "mot");
            return (Criteria) this;
        }

        public Criteria andMotNotLike(String value) {
            addCriterion("mot not like", value, "mot");
            return (Criteria) this;
        }

        public Criteria andMotIn(List<String> values) {
            addCriterion("mot in", values, "mot");
            return (Criteria) this;
        }

        public Criteria andMotNotIn(List<String> values) {
            addCriterion("mot not in", values, "mot");
            return (Criteria) this;
        }

        public Criteria andMotBetween(String value1, String value2) {
            addCriterion("mot between", value1, value2, "mot");
            return (Criteria) this;
        }

        public Criteria andMotNotBetween(String value1, String value2) {
            addCriterion("mot not between", value1, value2, "mot");
            return (Criteria) this;
        }

        public Criteria andOrtimeIsNull() {
            addCriterion("ortime is null");
            return (Criteria) this;
        }

        public Criteria andOrtimeIsNotNull() {
            addCriterion("ortime is not null");
            return (Criteria) this;
        }

        public Criteria andOrtimeEqualTo(Date value) {
            addCriterion("ortime =", value, "ortime");
            return (Criteria) this;
        }

        public Criteria andOrtimeNotEqualTo(Date value) {
            addCriterion("ortime <>", value, "ortime");
            return (Criteria) this;
        }

        public Criteria andOrtimeGreaterThan(Date value) {
            addCriterion("ortime >", value, "ortime");
            return (Criteria) this;
        }

        public Criteria andOrtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ortime >=", value, "ortime");
            return (Criteria) this;
        }

        public Criteria andOrtimeLessThan(Date value) {
            addCriterion("ortime <", value, "ortime");
            return (Criteria) this;
        }

        public Criteria andOrtimeLessThanOrEqualTo(Date value) {
            addCriterion("ortime <=", value, "ortime");
            return (Criteria) this;
        }

        public Criteria andOrtimeIn(List<Date> values) {
            addCriterion("ortime in", values, "ortime");
            return (Criteria) this;
        }

        public Criteria andOrtimeNotIn(List<Date> values) {
            addCriterion("ortime not in", values, "ortime");
            return (Criteria) this;
        }

        public Criteria andOrtimeBetween(Date value1, Date value2) {
            addCriterion("ortime between", value1, value2, "ortime");
            return (Criteria) this;
        }

        public Criteria andOrtimeNotBetween(Date value1, Date value2) {
            addCriterion("ortime not between", value1, value2, "ortime");
            return (Criteria) this;
        }

        public Criteria andWoddsIsNull() {
            addCriterion("wodds is null");
            return (Criteria) this;
        }

        public Criteria andWoddsIsNotNull() {
            addCriterion("wodds is not null");
            return (Criteria) this;
        }

        public Criteria andWoddsEqualTo(String value) {
            addCriterion("wodds =", value, "wodds");
            return (Criteria) this;
        }

        public Criteria andWoddsNotEqualTo(String value) {
            addCriterion("wodds <>", value, "wodds");
            return (Criteria) this;
        }

        public Criteria andWoddsGreaterThan(String value) {
            addCriterion("wodds >", value, "wodds");
            return (Criteria) this;
        }

        public Criteria andWoddsGreaterThanOrEqualTo(String value) {
            addCriterion("wodds >=", value, "wodds");
            return (Criteria) this;
        }

        public Criteria andWoddsLessThan(String value) {
            addCriterion("wodds <", value, "wodds");
            return (Criteria) this;
        }

        public Criteria andWoddsLessThanOrEqualTo(String value) {
            addCriterion("wodds <=", value, "wodds");
            return (Criteria) this;
        }

        public Criteria andWoddsLike(String value) {
            addCriterion("wodds like", value, "wodds");
            return (Criteria) this;
        }

        public Criteria andWoddsNotLike(String value) {
            addCriterion("wodds not like", value, "wodds");
            return (Criteria) this;
        }

        public Criteria andWoddsIn(List<String> values) {
            addCriterion("wodds in", values, "wodds");
            return (Criteria) this;
        }

        public Criteria andWoddsNotIn(List<String> values) {
            addCriterion("wodds not in", values, "wodds");
            return (Criteria) this;
        }

        public Criteria andWoddsBetween(String value1, String value2) {
            addCriterion("wodds between", value1, value2, "wodds");
            return (Criteria) this;
        }

        public Criteria andWoddsNotBetween(String value1, String value2) {
            addCriterion("wodds not between", value1, value2, "wodds");
            return (Criteria) this;
        }

        public Criteria andNoddsIsNull() {
            addCriterion("nodds is null");
            return (Criteria) this;
        }

        public Criteria andNoddsIsNotNull() {
            addCriterion("nodds is not null");
            return (Criteria) this;
        }

        public Criteria andNoddsEqualTo(String value) {
            addCriterion("nodds =", value, "nodds");
            return (Criteria) this;
        }

        public Criteria andNoddsNotEqualTo(String value) {
            addCriterion("nodds <>", value, "nodds");
            return (Criteria) this;
        }

        public Criteria andNoddsGreaterThan(String value) {
            addCriterion("nodds >", value, "nodds");
            return (Criteria) this;
        }

        public Criteria andNoddsGreaterThanOrEqualTo(String value) {
            addCriterion("nodds >=", value, "nodds");
            return (Criteria) this;
        }

        public Criteria andNoddsLessThan(String value) {
            addCriterion("nodds <", value, "nodds");
            return (Criteria) this;
        }

        public Criteria andNoddsLessThanOrEqualTo(String value) {
            addCriterion("nodds <=", value, "nodds");
            return (Criteria) this;
        }

        public Criteria andNoddsLike(String value) {
            addCriterion("nodds like", value, "nodds");
            return (Criteria) this;
        }

        public Criteria andNoddsNotLike(String value) {
            addCriterion("nodds not like", value, "nodds");
            return (Criteria) this;
        }

        public Criteria andNoddsIn(List<String> values) {
            addCriterion("nodds in", values, "nodds");
            return (Criteria) this;
        }

        public Criteria andNoddsNotIn(List<String> values) {
            addCriterion("nodds not in", values, "nodds");
            return (Criteria) this;
        }

        public Criteria andNoddsBetween(String value1, String value2) {
            addCriterion("nodds between", value1, value2, "nodds");
            return (Criteria) this;
        }

        public Criteria andNoddsNotBetween(String value1, String value2) {
            addCriterion("nodds not between", value1, value2, "nodds");
            return (Criteria) this;
        }

        public Criteria andEoddsIsNull() {
            addCriterion("eodds is null");
            return (Criteria) this;
        }

        public Criteria andEoddsIsNotNull() {
            addCriterion("eodds is not null");
            return (Criteria) this;
        }

        public Criteria andEoddsEqualTo(String value) {
            addCriterion("eodds =", value, "eodds");
            return (Criteria) this;
        }

        public Criteria andEoddsNotEqualTo(String value) {
            addCriterion("eodds <>", value, "eodds");
            return (Criteria) this;
        }

        public Criteria andEoddsGreaterThan(String value) {
            addCriterion("eodds >", value, "eodds");
            return (Criteria) this;
        }

        public Criteria andEoddsGreaterThanOrEqualTo(String value) {
            addCriterion("eodds >=", value, "eodds");
            return (Criteria) this;
        }

        public Criteria andEoddsLessThan(String value) {
            addCriterion("eodds <", value, "eodds");
            return (Criteria) this;
        }

        public Criteria andEoddsLessThanOrEqualTo(String value) {
            addCriterion("eodds <=", value, "eodds");
            return (Criteria) this;
        }

        public Criteria andEoddsLike(String value) {
            addCriterion("eodds like", value, "eodds");
            return (Criteria) this;
        }

        public Criteria andEoddsNotLike(String value) {
            addCriterion("eodds not like", value, "eodds");
            return (Criteria) this;
        }

        public Criteria andEoddsIn(List<String> values) {
            addCriterion("eodds in", values, "eodds");
            return (Criteria) this;
        }

        public Criteria andEoddsNotIn(List<String> values) {
            addCriterion("eodds not in", values, "eodds");
            return (Criteria) this;
        }

        public Criteria andEoddsBetween(String value1, String value2) {
            addCriterion("eodds between", value1, value2, "eodds");
            return (Criteria) this;
        }

        public Criteria andEoddsNotBetween(String value1, String value2) {
            addCriterion("eodds not between", value1, value2, "eodds");
            return (Criteria) this;
        }

        public Criteria andOrdateIsNull() {
            addCriterion("ordate is null");
            return (Criteria) this;
        }

        public Criteria andOrdateIsNotNull() {
            addCriterion("ordate is not null");
            return (Criteria) this;
        }

        public Criteria andOrdateEqualTo(Date value) {
            addCriterion("ordate =", value, "ordate");
            return (Criteria) this;
        }

        public Criteria andOrdateNotEqualTo(Date value) {
            addCriterion("ordate <>", value, "ordate");
            return (Criteria) this;
        }

        public Criteria andOrdateGreaterThan(Date value) {
            addCriterion("ordate >", value, "ordate");
            return (Criteria) this;
        }

        public Criteria andOrdateGreaterThanOrEqualTo(Date value) {
            addCriterion("ordate >=", value, "ordate");
            return (Criteria) this;
        }

        public Criteria andOrdateLessThan(Date value) {
            addCriterion("ordate <", value, "ordate");
            return (Criteria) this;
        }

        public Criteria andOrdateLessThanOrEqualTo(Date value) {
            addCriterion("ordate <=", value, "ordate");
            return (Criteria) this;
        }

        public Criteria andOrdateIn(List<Date> values) {
            addCriterion("ordate in", values, "ordate");
            return (Criteria) this;
        }

        public Criteria andOrdateNotIn(List<Date> values) {
            addCriterion("ordate not in", values, "ordate");
            return (Criteria) this;
        }

        public Criteria andOrdateBetween(Date value1, Date value2) {
            addCriterion("ordate between", value1, value2, "ordate");
            return (Criteria) this;
        }

        public Criteria andOrdateNotBetween(Date value1, Date value2) {
            addCriterion("ordate not between", value1, value2, "ordate");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}